A Control Structure for a Variable Number of Nested Loops
نویسندگان
چکیده
A new program control structure is proposed in this paper which is suitable for expressing a variable number of nested loops. This control structure is useful in combinatorial problems and in problems requiring backtracking. Implementation details are discussed and some illustrative examples are given which employ this new program control structure. The incorporation of this control structure in contemporary programming languages will considerably enhance them, particularly languages like FORTRAN, BASIC, and assembly.
منابع مشابه
An Optimized Three Region Partitioning Technique to Maximize Parallelism of Nested Loops With Non-uniform Dependences
There are many methods for nested loop partitioning exist; however, most of them perform poorly when they partition loops with non-uniform dependences. This paper proposes a generalized and optimized loop partitioning mechanism which can exploit parallelism in nested loops with non-uniform dependences. Our approach based on the region partitioning technique divides the loop into variable size p...
متن کاملModel Selection for Mixture Models Using Perfect Sample
We have considered a perfect sample method for model selection of finite mixture models with either known (fixed) or unknown number of components which can be applied in the most general setting with assumptions on the relation between the rival models and the true distribution. It is, both, one or neither to be well-specified or mis-specified, they may be nested or non-nested. We consider mixt...
متن کاملAnalysis of Plasmodium vivax Apical Membrane Antigen-1 (PvAMA-1) Haplotypes among Iranian Isolates
Plasmodium vivax apical membrane antigen-1(PvAMA-1) is a surface protein with polymorphic sites. This study was aimed to analyze the polymorphic amino acid residues at PvAMA-1 in different infected age groups. 92 blood samples were collected from south and southeast of Iran. The DNA coding for the domain I (DI), DII, and partial DIII of this antigen was amplified by Nested-PCR, and sequenced. N...
متن کاملبررسی روند مطالعات مورد ـ شاهد لانه گزیده و مقایسهی آن با مطالعات همگروهی و مورد ـ شاهد از سال 2005 ـ 1996
Background & Objectives: This investigation was prompted by the growing importance of nested case-control studies and the increasing frequency with which they are done in epidemiologic research. After a brief explanation of nested case-control studies, we evaluate the trends in research methodology over the last decade, especially with regard to cohort, case-control, and nested case-control des...
متن کاملHeuristic Approach of Automated Test Data Generation for Program having Array of Different Dimensions and Loops with Variable Number of Iteration
Normally, program execution spends most of the time on loops. Automated test data generation devotes special attention to loops for better coverage. Automated test data generation for programs having loops with variable number of iteration and variable length array is a challenging problem. It is so because the number of paths may increase exponentially with the increase of array size for some ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Comput. J.
دوره 25 شماره
صفحات -
تاریخ انتشار 1982